import service from "./service.js";

export default {
    getList(userId,flowType) {
        return service({
            url: '/system/approve/getAppByRelease?userNameId='+userId+'&flowType='+flowType,
        });
    },
    getDetail(autoId,flowType) {
        return service({
            url: '/system/approve/getAppById?flowType='+flowType+'&autoId='+autoId,
        })
    },
    getDetailRows(autoId,flowType) {
        return service({
            url: '/system/approve/getAppByDetail?flowType='+flowType+'&autoId='+autoId,
        })
    },
    getFileList(autoId) {
        return service({
            url: '/system/approve/getFileList?puuid='+autoId,
        })
    }
}